package com.kds.changzhou.message.outboud;

import com.kds.changzhou.utility.TemplateService;
import freemarker.template.TemplateException;

import java.io.IOException;

/**
 * @author 孔德嵩
 * @date 2023-11-07 15:55
 * @copyright Copyright (c) 2023 Dell
 */
public class MD5Message extends AbstractOutBoundMessage {

    public MD5Message(TemplateService templateService) {
        super(templateService);
    }

    @Override
    public void loadData() throws TemplateException, IOException {

        this.message = templateService.buildMD5(data);
    }
}
